package com.jiexin.dao;

import com.jiexin.model.PlmWorkFlow;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PlmWorkFlowMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PlmWorkFlow record);

    int insertSelective(PlmWorkFlow record);

    PlmWorkFlow selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PlmWorkFlow record);

    int updateByPrimaryKey(PlmWorkFlow record);

    List<PlmWorkFlow> getAllWorkFlow();

    int countByNameAndWorkFlowId(@Param("name") String name, @Param("id")Integer id);
}